<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:67:"D:\wwwroot\cms\template/member_style/default/member\index\index.htm";i:1609243498;}*/ ?>
<!DOCTYPE HTML>
<html>
	<head>
		<meta charset="utf-8">
		<title>会员中心</title>
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
		<link rel="stylesheet" href="/public/static/libs/bui/css/bui.css">
		<link rel="stylesheet" href="/public/static/icon/icon.css">
		<link rel="stylesheet" href="/public/static/member/default/wapindex/index.css">
		<script src="/public/static/js/core/jquery.min.js"></script>		
		<script type="text/javascript" src="/public/static/layer/layer.js"></script>
	</head>
	<body>
<!--下面是钩子插件,做风格的时候尽量加上,方便扩展  -->
<?php echo hook_listen('layout_member_body_head',$userdb,['webdb'=>$webdb,'info'=>$info],true); ?>

<!--控制是否固定头部的开关-->
<?php if(defined('LABEL_DEBUG')): ?><!--QB <!--wapmemberindex001set	myform	--><?php if(is_array($__LIST__) || $__LIST__ instanceof \think\Collection || $__LIST__ instanceof \think\Paginator): $i = 0; $__LIST__ = $__LIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;if($_cfg['overflowY']): ?>
	<style type="text/css">html, body {overflow: auto;}</style>
	<?php define('ROLL_HEADER',true); endif; endforeach; endif; else: echo "" ;endif; ?> QB--><?php endif; $wapmemberindex001set = fun('label@run_label','wapmemberindex001set',['val'=>'','conf'=>'member_style/default/member/index/wapmodel/set','list'=>'rs','systype'=>'myform','tpl'=>'','ifdata'=>1,'dirname'=>__FILE__,'rows'=>'5','class'=>'','order'=>'','by'=>'','where'=>'','whereor'=>'','sql'=>"",'js'=>'','cache_time'=>'0'  ]); if(defined('LABEL_SET')): ?>
	<ul style="background:#eee;padding:10px;">
	控制是否固定头部的开关
	</ul>
	<style type="text/css">.p8label{left:60px !important;}</style>
<?php endif; ?>
<!--控制是否固定头部的开关-->

<div class="<?php if(!defined('ROLL_HEADER')): ?>bui-page<?php endif; ?>">
	
	<!--把底部菜单的碎片移动上面来,是避免在下面的话.找不到设置.被挡住了-->
	<?php if(defined('LABEL_DEBUG')): ?><!--QB <!--wap_memberindex003	labelmodel	-->		
		<?php echo $datas; ?>
	 QB--><?php endif; $wap_memberindex003 = fun('label@run_hy','wap_memberindex003',[ 'Info'=>$info,'Id'=>$id,'Fid'=>$fid,'Mid'=>$mid, 'hy_id'=>intval($info['id']&&defined('IN_QUN_PAGE')&&IN_QUN_PAGE===true?$info['id']:$hy_id),'hy_tags'=>$tags,'val'=>'datas','conf'=>'','list'=>'rs','systype'=>'labelmodel','tpl'=>'','ifdata'=>1,'dirname'=>__FILE__,'rows'=>'5','class'=>'','order'=>'','by'=>'','where'=>'index_style/default/index/footmenu','whereor'=>'','sql'=>"",'js'=>'','cache_time'=>'0'  ]); if(!defined('ROLL_HEADER')): ?><header><?php endif; ?>
        <div class="wrap-user-header">
		<?php if(defined('LABEL_DEBUG')): ?><!--QB <!--wap_memberindex001	labelmodel	--> <?php echo $datas; ?>  QB--><?php endif; $wap_memberindex001 = fun('label@run_hy','wap_memberindex001',[ 'Info'=>$info,'Id'=>$id,'Fid'=>$fid,'Mid'=>$mid, 'hy_id'=>intval($info['id']&&defined('IN_QUN_PAGE')&&IN_QUN_PAGE===true?$info['id']:$hy_id),'hy_tags'=>$tags,'val'=>'datas','conf'=>'','list'=>'rs','systype'=>'labelmodel','tpl'=>'','ifdata'=>1,'dirname'=>__FILE__,'rows'=>'5','class'=>'','order'=>'','by'=>'','where'=>'member_style/default/member/index/wapmodel/head,headmoney','whereor'=>'','sql'=>"",'js'=>'','cache_time'=>'0'  ]); ?>
        </div>
    <?php if(!defined('ROLL_HEADER')): ?></header><?php endif; ?>
   
   <main <?php if(defined('ROLL_HEADER')): ?>class="rolltype"<?php endif; ?>>
		<?php if(defined('LABEL_DEBUG')): ?><!--QB <!--wap_memberindex002	labelmodel	-->
		<?php echo $datas; ?> 
		 QB--><?php endif; $wap_memberindex002 = fun('label@run_hy','wap_memberindex002',[ 'Info'=>$info,'Id'=>$id,'Fid'=>$fid,'Mid'=>$mid, 'hy_id'=>intval($info['id']&&defined('IN_QUN_PAGE')&&IN_QUN_PAGE===true?$info['id']:$hy_id),'hy_tags'=>$tags,'val'=>'datas','conf'=>'','list'=>'rs','systype'=>'labelmodel','tpl'=>'','ifdata'=>1,'dirname'=>__FILE__,'rows'=>'5','class'=>'','order'=>'','by'=>'','where'=>'member_style/default/member/index/wapmodel/menu,alljifen,loginout','whereor'=>'','sql'=>"",'js'=>'','cache_time'=>'0'  ]); ?>        
    </main>

	<footer style="height:40px;"></footer>

	<!--
	 <footer>
        <ul class="bui-nav footer-nav">
		<?php $_result=fun('page@foot_menu');if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$rs): $mod = ($i % 2 );++$i;?>
            <li class="bui-btn bui-box-vertical <?php echo strstr($rs['url'],'/member/index')?'active':''; ?>" href="<?php echo $rs['url']; ?>">
                <i class="<?php echo (isset($rs['style']) && ($rs['style'] !== '')?$rs['style']:'glyphicon glyphicon-star'); ?>"></i>
                <div class="span1"><?php echo $rs['name']; ?></div>
            </li>
		<?php endforeach; endif; else: echo "" ;endif; ?> 
        </ul>
    </footer>
	-->
   
</div>

<div id="editmodes"></div>
<div class="fullbg"></div>

<script src="/public/static/libs/bui/js/bui.js"></script>
<script src="/public/static/member/default/wapindex/index.js?s"></script>
<script type="text/javascript">
$(function(){
	$(".bui-box-vertical").each(function(){
		var obj = $(this);
		if(obj.attr('href') && obj.attr('href').indexOf('/member/msg/index')>-1){
			$.get("<?php echo murl('member/wxapp.msg/checknew'); ?>",function(res){
				if(res.code==0){
					if(res.data.num>0){
						obj.find('.bui-badges').html(res.data.num);	
						obj.find('.bui-badges').show();
					}
				}
			});
		}
	});
});
</script>

<!--下面是钩子插件,做风格的时候尽量加上,方便扩展-->
<?php echo hook_listen('layout_member_body_foot',$userdb,['webdb'=>$webdb,'info'=>$info],true); ?>

</body>
</html>